package com.csun.dsms.mapper;

import com.csun.dsms.model.domain.YsClasses;
import com.csun.dsms.model.domain.YsStudent;
import com.csun.dsms.model.dto.ys.YsQueryDto;
import com.csun.dsms.model.dto.ys.YsStudentVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface YsStudentMapper extends Mapper<YsStudent> {

    /**
     * 分页查询学生 根据school class phone
     * 根据家长名字和手机号登录
     * @param ysQueryDto
     * @return
     */
    List<YsStudent> queryListWithPage(YsQueryDto ysQueryDto);


    //根据单个信息查询学生 只查询一条;
    // name phone family
    YsStudentVo queryByStudent(YsStudent ysStudent);


}